package 
{	
	
	import flash.display.Sprite;
    import flash.display.StageAlign;
    import flash.display.StageScaleMode;
    
   	import org.hive.Hive;

  	import FullScreenYouTubeDemoState;
 
    [SWF(backgroundColor=0x000000, frameRate=30, width=900, height=600)]
    
    public class YoutubeUnion extends Sprite
    {
        
        public function YoutubeUnion()
        {
            super();
            
            stage.scaleMode = StageScaleMode.NO_SCALE;
            stage.align =  StageAlign.TOP_LEFT;
           
            init();
            
        }
        
        private function init( ):void
        {
            var hive:Hive = new Hive(this);
            hive.start( new FullScreenYouTubeDemoState() );
        }
    }
}
